#include "widget.h"

#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    //设置全局样式
    QString style = "QLabel{border : 5px solid red; padding-left : 50px;}";
    a.setStyleSheet(style);

    Widget w;
    w.show();
    return a.exec();
}
